package com.digitalchina.lxnsy.entity;

import com.digitalchina.lxnsy.interfaces.IRecyclerType;

import java.io.Serializable;

/**
 * ================================================
 * 项目名称：BigData
 * 类描述：
 * 包名：com.digitalchina.bigdata.entity
 * 创建人：byd
 * 创建时间：2017/4/10 15:39
 * 修改备注：
 * ================================================
 */

public class MsgVO implements Serializable, IRecyclerType {

    @Override
    public int type() {
        return getType();
    }

    private int type;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    private String name; // 专家名 只有专家才设置(因为服务端返回的专家信息再另一个VO里面)
    private String image; // 专家头像 只有专家才设置(因为服务端返回的专家信息再另一个VO里面)

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    /**
     * id : 1e19330f-55a2-42b2-8aca-609c07a85080
     * createAt : 2017-04-07 14:05:05
     * createTime : 2017-04-07 14:05:05
     * updateAt : 2017-04-07 14:05:05
     * updateTime : 2017-04-07 14:05:05
     * status : null
     * sort : 0
     * version : 0
     * sendUser : facfe8d9-9fd6-45aa-8949-c02f0d6b7b19
     * toUser : 0a91584e-a78d-4e54-9812-69f3279b4bfc
     * content : 有什么办法？
     * msgState : 1
     * msgType : 1
     * sendOrTo : null
     * sendUserImg : null
     * toUserImg : null
     * persistent : true
     * entityId : 1e19330f-55a2-42b2-8aca-609c07a85080
     */

    private String id;
    private String createAt;
    private String createTime;
    private String updateAt;
    private String updateTime;
    private Object status;
    private int sort;
    private int version;
    private String sendUser;
    private String toUser;
    private String content;
    private int msgState;
    private int msgType;
    private Object sendOrTo;
    private Object sendUserImg;
    private Object toUserImg;
    private boolean persistent;
    private String entityId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreateAt() {
        return createAt;
    }

    public void setCreateAt(String createAt) {
        this.createAt = createAt;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(String updateAt) {
        this.updateAt = updateAt;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public Object getStatus() {
        return status;
    }

    public void setStatus(Object status) {
        this.status = status;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public String getSendUser() {
        return sendUser;
    }

    public void setSendUser(String sendUser) {
        this.sendUser = sendUser;
    }

    public String getToUser() {
        return toUser;
    }

    public void setToUser(String toUser) {
        this.toUser = toUser;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getMsgState() {
        return msgState;
    }

    public void setMsgState(int msgState) {
        this.msgState = msgState;
    }

    public int getMsgType() {
        return msgType;
    }

    public void setMsgType(int msgType) {
        this.msgType = msgType;
    }

    public Object getSendOrTo() {
        return sendOrTo;
    }

    public void setSendOrTo(Object sendOrTo) {
        this.sendOrTo = sendOrTo;
    }

    public Object getSendUserImg() {
        return sendUserImg;
    }

    public void setSendUserImg(Object sendUserImg) {
        this.sendUserImg = sendUserImg;
    }

    public Object getToUserImg() {
        return toUserImg;
    }

    public void setToUserImg(Object toUserImg) {
        this.toUserImg = toUserImg;
    }

    public boolean isPersistent() {
        return persistent;
    }

    public void setPersistent(boolean persistent) {
        this.persistent = persistent;
    }

    public String getEntityId() {
        return entityId;
    }

    public void setEntityId(String entityId) {
        this.entityId = entityId;
    }

}
